<?php

require_once 'config.php';
require_once 'function.php';
require_once 'class/Mysql.class.php';

$db = new Mysql();

$arr_de = array(
905,
1052,
1037,
974,
944,
1084,
902,
899,
1066,
998,
911,
914,
916,
920,
923,
926,
935,
938,
956
);

$arr_en = array(
495,
460,
50,
383,
18,
846,
735,
249,
452,
330,
524,
839,
653,
840,
738,
841,
542,
737,
1076
);

foreach( $arr_en as $k=>$v ){
	$db->update('product', array('product_cbsid'=>$arr_de[$k]), 'product_cbsid='.$v);
}


